package cn.git.https.controller;

import cn.git.https.vo.HttpsInVO;
import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.*;

/**
 * @description: httpController测试接口
 * @program: bank-credit-sy
 * @author: lixuchun
 * @create: 2025-08-13
 */
@RestController
@RequestMapping("/https")
public class HttpsController {

    @GetMapping("/getHttpsInfo")
    public String getHttpInfo() {
        return "https";
    }

    @PostMapping("/getPostHttpsInfo")
    public String getPostHttpInfo(@RequestBody HttpsInVO httpsInVO) {
        return JSONObject.toJSONString(httpsInVO);
    }

}
